package com.duo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: Xrx
 * @Description:
 * @CreateTime: 2023/7/6 22:26
 */
@Data
public class DishFlavorDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 口味名称
     */
    @NotBlank(message = "口味名称不能为空")
    private String name;

    /**
     * 口味数据
     */
    @NotBlank(message = "口味数据不能为空")
    private String value;



}
